package net.neptech.dto.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long patientId; //患者id
    private Long staffId;
    private Integer typeId;  //订单类型 看上一层传什么
    private BigDecimal amount; //价格 前端传过来把
    private Date payDeadline; // 订单超时时间
    private Long userId;

}
